Minor nuiances fixed

I noticed that by default this isn't a library. Adding this flag in makes it easier to use as a library, including automatically compiling the code on Eclipse. Also, it can sometimes be useful to have the database path, so I added in the ability to get this path.