Removing some crap. Need to optimize some code and also write some comments.