Bug hunt and code cleanup
+cURL now return header for the loggs
+All model and controller functionality is now method centered
+General code cleanup