Commented everything. Fixed minor stuff