File naming and structure updated to Wordpress standard. Namespaces removed for php 5.2 support