#649 move database script to library
 #649 update custom_rules to include assets folder in final jar