Removed Unused Code,
Added Some Comments
Small Fixes