Start refactoring

package added;
basic framework tools added;