Ready up to switch to autotools

It will be unmaintainable the build thing with handwritten system.
Remove unused files.
Get autotools working.