cleaned some code, redundant tasks and old code removed

#2
by RatanPrakash - opened