Code cleanup
Merge and massive code cleanup

- Removed useless constructor
- applied proper codestyles
- using joomla api calls where possible
Merge pull request #1 from SniperSister/master

Massive code cleanup