Integrate Liquibase in application?

Hello,

is it possible to integrate liquibase (Java or .NET) in my application so the application starts and uses the liquibase library to check the datebase and start migrations without use of the command line?

And to add a little think, is it possible to dump a current database structure to a changelog file (hope that name is correct) when I already have an existing structure?

Thank you!

Best regards,
Ricky