add modules functioning, start debug