Revamped code hierarchy, renamed crate

 • splitted integration tests and put tests with access to private strucs/functs into tests mod
 • splitted code into mods