Core pr 4

Updated coding style and documentation.
Added support for responsive design.