fixed code style and added it as make file project

Fixed code style and added it as makefile project.