add spec file add requirements started work on modularisation create simple flask api program error codes set licence to GPLv3