Add stubs for general functions.
Remove 'target' directory since it is generated by maven.