Move compile command to an external file
Add docs