removed install and schema from module and moved it to the library