Moved MySQL below PHP
Small fixes in Implementation
Fix by Mänsen