using one Makefile

- build main
- build and run single test
- build and run all tests
- moved src to lib
- removed all autotools files
running each test separately and then with prove to get test failures
test and testv goals, latter running tests separartely