added requirements
append lib path relative to the app
fixed BASE_PATH