Fix build system & write README