Organize directory

Clean and setup main directory, add select method to dbase