Move Makefile into root directory and rewrite it
Add header files dependency
Change opside value to pointer